package com.example.service;

import com.example.vo.Result;
import com.example.vo.params.RegisterParam;
import org.springframework.transaction.annotation.Transactional;

@Transactional //添加事务支持
public interface RegisterService {
    /**
     * 用户注册
     * @param registerParam
     * @return
     */
    Result register(RegisterParam registerParam);
}
